package io.xxx.xbutler.sdk.request;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Map;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class SendPrivateChatMessagesRequest extends SendChatMessagesRequest {

    @JSONField(name = "vcToWxSerialNo")
    private String toWxSerialNo;

    @Override
    public String path() {
        return "/scrm/ChatMessages/SendPrivateChatMessages";
    }

    @Override
    public Map<String, Object> params() {
        return Map.of(
                "vcRobotSerialNo", robotSerialNo,
                "vcRelaSerialNo", relaSerialNo,
                "vcChatRoomSerialNo", toWxSerialNo,
                "Data", data
        );
    }
}
